package com.shi.shiro.mapper;

import com.shi.shiro.domain.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    boolean insertRole(@Param("role")Role role);

    boolean batchInsertRoles(@Param("roleList")List<Role> roleList);
}
